MongoDB Online Quiz

mongodbquiz

It’s time to test the MongoDB skills after learning all the MongoDB tutorials. This free MongoDB Quiz will help you prepare for the interview with MongoDB.

MongoDB Quiz is not just a test, but a parameter that will measure your knowledge and capabilities, especially for you. So, if you want to check the basics please refer to our MongoDB tutorial series before taking this advanced MongoDB assessment test.

 

Table of Contents

Results

%3Cspan%20style%3D%22color%3A%20%23339966%22%3E%3Cstrong%3ECongratulations.%3C%2Fstrong%3E%3C%2Fspan%3E

%3Cstrong%3E%3Cspan%20style%3D%22color%3A%20%23ff0000%22%3EFail%3C%2Fspan%3E%2C%20Try%20Again%3C%2Fstrong%3E

#1. Which of the following command inside aggregate command is used in MongoDB aggregation to filter the documents to pass only the documents that match the specified condition(s) to the next pipeline stage.

#2. What command will you use to list all available databases?

#3. Point out the correct statement.

#4. You can inspect __________ to check the amount of mapped memory that mongod is using

#5. Which of following command will return all items from inventory collection




#6. The difference between $push and $addToSet is:

#7. Which of the operator is used to access the query field of documents within system.profile?

#8. By default, db.collection.explain() runs in ___________ verbosity mode.

#9. What command will you use to display the database you are using?

#10. The memory usage statuses metrics of the _________ output can provide insight into MongoDB’s memory use.




#11. With the _______ storage engine, MongoDB uses memory-mapped files to store data.

#12. Point out the wrong statement.

#13. What is default port for MongoDB server?

#14. What is a replica set node which does not maintain its own data but exists only for voting purpose called?

#15. Which language is MongoDB written in?




#16. MongoDB reports its triggered page faults as the total number of page faults in ________ second.

#17. The _______ operator can be used to identify an element in the array to be updated without explicitly specifying the position of the element.

#18. What does the following query do when performed on the posts collection? db.posts.update({_id:1},{Title:This is post with ID 1″})

#19. What is the output of the following program?

#20. ____________ returns information on the query plan for aggregate function.




Previous
Finish

Related posts